<?php

class Plate extends Zend_Db_Table{
  protected $_name = 'plate';
  protected $_primary = 'id';

  public function getPlates(){
      return $this->fetchAll('plate.order!=0','tq_plate.order')->toArray();
  }
}
